package com.youku
{
   import com.youku.interfaces.IRootData;
   import com.youku.interfaces.IPlayListData;
   import com.youku.interfaces.IPartnerData;
   import com.youku.interfaces.IApiData;
   import com.youku.data.LoadTimeData;
   import flash.display.DisplayObject;
   import com.youku.data.PlayerConstant;
   
   public class PlayerConfig extends Object
   {
      
      public function PlayerConfig() {
         super();
      }
      
      public static var rootData:IRootData;
      
      public static var playListData:IPlayListData;
      
      public static var partnerData:IPartnerData;
      
      public static var apiData:IApiData;
      
      public static var loadtimeData:LoadTimeData;
      
      public static var isRTMP:Boolean = false;
      
      public static var isTouchPlayer:Boolean = false;
      
      public static var controlBarType:int = 1;
      
      public static var specialType:String = "";
      
      public static var isTaobaoPlayer:Boolean = false;
      
      public static var isInTaobaoDomain:Boolean = false;
      
      public static var isTudouPlayer:Boolean = false;
      
      public static var isIkuPlayer:Boolean = false;
      
      public static var p2pStatus:String = "";
      
      public static var GUID:String = "";
      
      public static var loadingMC:DisplayObject = null;
      
      public static var previewMouseHoverTimeout:Number = 1;
      
      public static var startPosition:Number = 0;
      
      public static var isAutoPlay:Boolean = true;
      
      public static var normalWidth:Number = 610;
      
      public static var normalHeight:Number = 498;
      
      public static var normalVideoWidth:Number = 610;
      
      public static var normalVideoHeight:Number = 458;
      
      public static var controlBarHeight:Number = 40;
      
      public static var isFullScreen:Boolean = false;
      
      public static var dvdVoiceVid:String = "";
      
      public static var dvdPlay:Boolean = false;
      
      public static var dvdTime:Number = 0;
      
      public static var dvdSID:String = "";
      
      public static var dvdtoken:String = "";
      
      public static var dvdoip:String = "";
      
      public static var isStageVideoAvailable:Boolean = false;
      
      public static var isStageVideoInUse:Boolean = false;
      
      public static var videoDecodeStatus:String = "software";
      
      public static var tempQuality:String = "";
      
      public static var bctime:Number = 0;
      
      public static var printdebug:Boolean = false;
      
      public static var isSeekToKeyframe:Boolean = false;
      
      public static var accState:int = -1;
      
      public static function get allowBCSpecialType() : Boolean {
         if(specialType == PlayerConstant.SPECIAL_TYPE_JIETU || specialType == PlayerConstant.SPECIAL_TYPE_SHENHE)
         {
            return true;
         }
         return false;
      }
   }
}
